/* 整体样式 */
*{
  margin: 0 ;
  padding: 0 ;
}
.wechatApp {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }
  
  /* 顶部标题栏 */
  .header {
    background-color: #ededed;
    padding: 10px 15px;
    position: relative;
    text-align: center;
  }
  
  .title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
  }
  
  /* 搜索栏 */
  .searchBar {
    background-color: #ededed;
    padding: 8px 10px;
    display: flex;
    align-items: center;
  }
  
  .searchIcon {
    color: #999;
    margin-right: 8px;
  }
  
  .searchInput {
    flex: 1;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 14px;
  }
  
  /* 聊天列表 */
  .chatList {
    flex: 1;
    overflow-y: auto;
  }
  
  .chatItem {
    display: flex;
    padding: 12px 15px;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .avatar {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 10px;
  }
  
  .chatContent {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .chatTop {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  
  .name {
    font-size: 16px;
    color: #000;
    font-weight: 500;
  }
  
  .time {
    font-size: 12px;
    color: #999;
  }
  
  .chatBottom {
    display: flex;
    align-items: center;
  }
  
  .message {
    font-size: 14px;
    color: #999;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .unread {
    background-color: #f44336;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 5px;
  }
  
  .tag {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
  }
  
  /* 底部导航栏 */
  .tabBar {
    display: flex;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
  }
  
  .tabItem {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #999;
  }
  
  .tabItem:first-child {
    color: #07C160;
  }